-
Notifications
You must be signed in to change notification settings - Fork 49
Replace univocity parsers with FastCSV for CSV handling except for PSSE #3627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Nicolas Rol <[email protected]>
… processing and improve resource management with try-with-resources. Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
…ssing. Signed-off-by: Nicolas Rol <[email protected]>
… FastCSV for CSV writing Signed-off-by: Nicolas Rol <[email protected]>
|
|
I did some tests to compare the performances of this version vs main. Each tested operation was performed 50 times consecutively, and the results are based on the last 30 draws. The operations tested where:
The results are as follows:
The results here are very encouraging: it seems that the change of dependency can optimize the performances in some cases. |



Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No
What kind of change does this PR introduce?
Change of dependency
What is the current behavior?
PowSyBl uses univocity-parsers for handling CSV files (parsing and writing), but this lib is abandoned since 2021.
What is the new behavior (if this is a feature change)?
PowSyBl now uses FastCSV for handling CSV files.
Does this PR introduce a breaking change or deprecate an API?
If yes, please check if the following requirements are fulfilled
What changes might users need to make in their application due to this PR? (migration steps)
Other information:
PSS-E handling with be managed in a specific PR